<extend name="Users:layout" />
<block name="content">
 <link rel="stylesheet" type="text/css" href="__PUBLIC__/plugins/webuploader/style.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/plugins/webuploader/webuploader.css" />
<script type="text/javascript" src="__PUBLIC__/plugins/webuploader/webuploader.js"></script>
<script type="text/javascript" src="__JS__/sharebatchupload.js"></script>
    <body style="background-color:#f5f5f5;">
        <div class='wst-page-header'>买家中心 > 晒单列表</div>
        <div style="text-align:center;">
        	<div class="wst-appraise-box" style="margin:0px;">
				<div class='main' style="border-style:none;">
					<div class="head">
						<div class="goods-no" style="width:50px;">序号</div>
						<div class="goods-name" style="width:600px;">商品</div>
						<div class="goods-status" style="width:120px;">晒单内容</div>
						<div class="goods-buy-time" style="width:120px;">购买时间</div>
						<div class="goods-buy-time" style="width:80px;">操作</div>
						<div style="clear: both;"></div>
					</div>
						
					<volist name="orderInfo['goodsList']" id="goods" key='key1'>
					<div class="selgoods">
						<div class="goods-no goods-txt">{$key+1}</div>
						<div class="goods-name goods-txt">
							<div>
								<div style="float: left;width: 65px;">
								<a href="{:U('Home/Goods/getGoodsDetails',array('goodsId'=>$goods['goodsId']))}" target="_blank">
								<img src="__ROOT__/{$goods['goodsThums']}" width="60" height="60" class='goods-img'/>
								</a>
								</div>
								<div class='goods-name2 goods-txt' style="line-height:normal;padding-top:25px;">
									<a href="{:U('Home/Goods/getGoodsDetails',array('goodsId'=>$goods['goodsId']))}" target="_blank">{$goods["goodsName"]}</a><br/>
				        			{$goods["goodsAttrName"]}
								</div>
							</div>
						</div>
						<div id="{$goods['goodsId']}_status" class="goods-status goods-txt" style="overflow: hidden">
							<if condition="$goods['isShare'] eq 1">
								已晒单
							<else/>
								未晒单
							</if>
						</div>
						<div class="goods-buy-time goods-txt" style="width:120px;">{$orderInfo['order']['createTime']}
						</div>
						<if condition="$goods['isShare'] eq 1">
							<div style="margin: 25px;float:left">已晒单</div>
						<else /><a href="{:U('Home/Share/toShare',array('orderId'=>$orderInfo['order']['orderId'],'shopId'=>$orderInfo['order']['shopId'],'goodsId'=>$goods['goodsId']))}"  style="margin: 25px;float:left">晒单</a>
						</if>
						<div style="clear: both;"></div>
					</div>
					</volist>			
					<button type="button" class="wst-btn-query" onclick='javascript:location.href=Think.U("Home/Orders/queryAppraiseByPage")'>返&nbsp;回</button>		
				</div>
			</div>
        </div>
    </body>
</block>
